<{include file=$module.'/header.php'}>
<style type="text/css">
	#page-manage-home .store-cate li a{width: 25%;}
	.my-page .com{font-size: .7rem;height:2.5rem; text-align:center; color:#ccc; position: relative;}
	.my-page .banner{height:7.2rem;}

</style>
<div class="page my-page" id="page-manage-home">
	<header class="bar bar-nav common-bar-nav" style="border-bottom: 0">
		<a class="pull-left external" href="/<{$controller}>/index"><i class="fa fa-arrow-left"></i></a>
		<h1 class="title"><{if $cate}><{$cate.name}>信息<{else}>选择分类<{/if}></h1>
		<!-- <a class="pull-right external" href="/<{$controller}>/setting"><i class="icon icon-settings"></i></a> -->
	</header>
	<{include file=$module.'/nav.php'}>
	
	<div class="content">
		<ul class="store-cate">
			<{if $cates}>
			<{foreach $cates as $val}>
			<li>
				<{if $val.url}>
				<a href="/index/<{$val.url}>/<{$type}>" class="shop external">
				<{else}>
				<a href="/index/<{$val.url}>/<{$type}>" class="shop external">
				<{/if}>
					<p><{$val.name}></p>
				</a>
			</li>
			<{/foreach}>
            <{/if}>
		</ul>
	</div>

</div>

<script>
$(function(){

	$.init();
});
</script>
<{include file=$module.'/footer.php'}>